﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SageKing.Core.Contracts;

public interface IPageBase<R>
{
    /// <summary>
    /// 分页获取集合 🔖
    /// HttpPost page
    /// </summary>
    /// <returns></returns>
    [DisplayName("获取获取集合")]
    public Task<PageBase<R>> GetPageAsync(PageBaseInput page);
}

public interface ISageKingResultPageBase<R>
{
    /// <summary>
    /// 分页获取集合 🔖
    /// HttpPost page
    /// </summary>
    /// <returns></returns>
    [DisplayName("获取获取集合")]
    public Task<SageKingResult<PageBase<R>>> GetPageAsync(PageBaseInput page);
}
